projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
301d4ee
)
wayland: Always attach null surfaces on hide
author
Jasper St. Pierre
<jstpierre@mecheye.net>
Mon, 16 Sep 2013 22:39:55 +0000
(18:39 -0400)
committer
Jasper St. Pierre
<jstpierre@mecheye.net>
Mon, 28 Oct 2013 22:03:26 +0000
(18:03 -0400)
Destroying the surface isn't really appropriate, as the GtkWindow
is still realized and we won't necessarily know how to reconstruct it.
gdk/wayland/gdkwindow-wayland.c
patch
|
blob
|
history
diff --git
a/gdk/wayland/gdkwindow-wayland.c
b/gdk/wayland/gdkwindow-wayland.c
index 955167063815822ef07faeb377b9042dadd9e10a..70abf77da5696f993249fb9c4233c31a3afe07b1 100644
(file)
--- a/
gdk/wayland/gdkwindow-wayland.c
+++ b/
gdk/wayland/gdkwindow-wayland.c
@@
-1101,7
+1101,7
@@
gdk_wayland_window_hide_surface (GdkWindow *window,
if (impl->surface)
{
- if (
impl->use_custom_surface &&
!is_destroy)
+ if (!is_destroy)
{
wl_surface_attach (impl->surface, NULL, 0, 0);
wl_surface_commit (impl->surface);